      <template>
        <el-dialog :title="title" :visible.sync="dialogBackupsVisible" :close-on-click-modal="false"  @close="closeDialog">
            <el-form :model="selectTable" :rules="rules" ref="selectTable">
                <el-form-item label="备份操作执行时间" prop="date" :required="true" label-width="150px">
                    <el-date-picker type="date" placeholder="选择日期" v-model="selectTable.date" size="small" value-format="yyyy-MM-dd" style="width: 100%"></el-date-picker>
                </el-form-item>
            </el-form>
            <div slot="footer" class="dialog-footer">
                <el-button @click="closeDialog()">取 消</el-button>
                <el-button type="primary" @click="confirmDialog">确 定</el-button>
            </div>
        </el-dialog>
      </template>
      <script>
      export default {
          data() {
              return {
                  dialogBackupsVisible: this.isShow,
                  selectTable: {},
                  rules: {
                      date: {
                          required: true,
                          message: '备份操作执行时间', 
                          trigger: 'blur'
                      }
                  }
              }
          },
          props: ['isShow', 'title'],
          methods: {
            //设置弹窗可见
            closeDialog() {
                this.$emit('closeDialog')
            },
            confirmDialog() {}
          }
      }
      </script>
      <style lang="less" scoped>
      
      </style>
      